package com.zrwl.poscloud.xo.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.commons.vo.BaseVO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

;
;
;
;

/**
 * 消费记账明细 VO类
 *
 * @author 刘思童 AutoGenerate
 * @date 2021-07-27
 */
@Data
public class TradeDetailVO extends BaseVO<TradeDetailVO> {
    private static final long serialVersionUID = 1L;
    private String companyUid;
    private int type;
    private String employeeUid;
    private String companyCode;
    private String employeeCode;
    private String certCode;
    private int employeeType;
    private String employeeName;
    private double amt;
    private double accountAmt;
    private double subAccountAmt;
    private double discountAmt;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tradeTime;
    private String posTimeUid;
    private String posTimeName;
    private String houseUid;
    private String windowUid;
    private String posUid;
    private String houseName;
    private String windowName;
    private String posName;
    private String settleUid;
    private String summary;
    private double lumpSum;
    private double refundAmt;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settleTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dayTime;
    private String oldDetailUid;
    private int refundStatus;
    private List<String> menuCodeList;
    private Integer menuRecord;//菜单记录
    private Double menuPrice;//菜单价格
    private Integer menuRecordId;//菜单明细流水号
    private Double subMoney;//补贴金额(优惠)
    private Double exPurseConsume;//电子钱包消费金额
    private Double subAccountConsume;//补贴账户消费金额
    private Integer subAccountType;//补贴账户类型
    private String menusMes;//菜单的jsonArray字符串
    private Integer timeType;//时段类型
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String cardSerialNumber;//卡SN序列号
    private int recordId;//交易流水号
    private double tradeBeforeAmt;//交易前余额
    private int useCount;
    private int abnormalType;
    private Double mouthAmt;
    private Double dayAmt;
    private List<EmployeeAccountVO> employeeAccountVOList;
    private int timeConsumeCount;
    private String timeDiscountUid;
    private String timeDiscountName;
    private String equipmentType;
    private String equipmentNickName;
    private String mobile;
    private Integer payType;
    private Double giftAmt;
    private Integer payLevel;
    private Integer settleType;
    private String detailBalance;
    private String batchName;
    private String companyOrderCode;
}
